FactoryGirl.define do
  factory :tag, class: Tag do
    sequence(:name) { |n| "tag#{n}" }
    label { "label#{rand(2)+1}" }
    rank { rand(100) }
  end
end
